#pre-requisites
source /pentest/AH/pentest.config
outputLauncher=../asout/firefox_tabs_launcher.sh
echo -n firefox\ > $outputLauncher
echo "NEEDS UPDATING TO INCLUDE HTTPS"
#database=/job/test.db

#body
query='select ipaddress,port from services where service = "http"'
cmd="echo -n \${1}:\${2}\  >> $outputLauncher"
/opt/python3/bin/python3 /root/workspace/q2ex/src/q2ex.py -d "$database" -q "$query" -c "$cmd"

#post-requisites
chmod +x $outputLauncher
